package cn.wolfcode.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.lang.reflect.Type;

@Getter
@Setter
@ToString
@TableName("student_teacher")
public class StudentTeacher {
    @TableId(type= IdType.AUTO)
    private Long id;
    @TableField(value = "student_id")
    private Long studentId;
    @TableField(value = "teacher_id")
    private Long TeacherId;
}
